import Vue from 'vue'
import Vuex from 'vuex'
import vuexModules from './modules'

import state from './state'
import mutations from './mutations'
import getters from './getters'
Vue.use(Vuex)

let store = new Vuex.Store({
  state,
  mutations,
  getters,
  modules: vuexModules
})

export default store
